Matthias Clasen [Sun, 6 Sep 2015 19:38:14 +0000 (15:38 -0400)]
text buffer: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 19:31:37 +0000 (15:31 -0400)]
text cell renderer: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 19:04:19 +0000 (15:04 -0400)]
builder: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 19:02:34 +0000 (15:02 -0400)]
gdk window: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 19:01:06 +0000 (15:01 -0400)]
device: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 16:35:12 +0000 (12:35 -0400)]
tree view column: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:46:38 +0000 (10:46 -0400)]
gesture single: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:46:15 +0000 (10:46 -0400)]
event controller: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:46:00 +0000 (10:46 -0400)]
radio button: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:45:33 +0000 (10:45 -0400)]
toggle button: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:45:03 +0000 (10:45 -0400)]
style context: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:44:30 +0000 (10:44 -0400)]
treeview: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:43:34 +0000 (10:43 -0400)]
scale: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:42:50 +0000 (10:42 -0400)]
range: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:41:43 +0000 (10:41 -0400)]
header bar: Use g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:40:46 +0000 (10:40 -0400)]
image: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 14:39:57 +0000 (10:39 -0400)]
list box: Use g_object_notify_by_pspec everywhere
We already have the pspec at hand, so use it.
Matthias Clasen [Sun, 6 Sep 2015 02:35:22 +0000 (22:35 -0400)]
entry completion: Convert to g_object_notify_by_pspec
This avoid pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 02:34:51 +0000 (22:34 -0400)]
entry buffer: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 02:34:13 +0000 (22:34 -0400)]
entry: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sat, 5 Sep 2015 14:44:27 +0000 (10:44 -0400)]
application: Convert to g_object_notify_by_pspec
This avoid pspec lookup overhead in g_object_notify.
Matthias Clasen [Sat, 5 Sep 2015 07:59:28 +0000 (03:59 -0400)]
progressbar: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sat, 5 Sep 2015 07:58:50 +0000 (03:58 -0400)]
label: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sat, 5 Sep 2015 07:58:15 +0000 (03:58 -0400)]
adjustment: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sat, 5 Sep 2015 06:16:58 +0000 (02:16 -0400)]
widget: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sat, 5 Sep 2015 05:27:52 +0000 (01:27 -0400)]
window: Convert to g_object_notify_by_pspec
This avoids pspec lookup overhead in g_object_notify.
Matthias Clasen [Sun, 6 Sep 2015 17:16:26 +0000 (13:16 -0400)]
tool button: Use G_DEFINE_TYPE
No need to do this manually.
Matthias Clasen [Sun, 6 Sep 2015 17:15:38 +0000 (13:15 -0400)]
print backend: Remove an unneeded variable
The G_DEFINE_TYPE macros automate the parent_class handling.
Matthias Clasen [Sun, 6 Sep 2015 17:14:55 +0000 (13:14 -0400)]
im module: Remvoe an unneeded variable
The G_DEFINE_TYPE macros automate the parent_class handling.
Matthias Clasen [Sun, 6 Sep 2015 17:14:40 +0000 (13:14 -0400)]
toggle action: Remove an unused variable
Matthias Clasen [Sun, 6 Sep 2015 17:14:01 +0000 (13:14 -0400)]
gdk window: Remove an unneeded variable
The G_DEFINE_TYPE macros automate the parent_class handling.
Matthias Clasen [Sun, 6 Sep 2015 02:36:00 +0000 (22:36 -0400)]
gtk-demo: Add a way to launch individual demos
Add a --run option which takes the name of an example and
launches it. Also add a --autoquit option which can be used
to quit after a given number of seconds.
Changwoo Ryu [Sat, 5 Sep 2015 18:59:39 +0000 (03:59 +0900)]
Updated Korean translation
Baurzhan Muftakhidinov [Sat, 5 Sep 2015 05:56:51 +0000 (05:56 +0000)]
Updated Kazakh translation
Baurzhan Muftakhidinov [Sat, 5 Sep 2015 05:54:29 +0000 (05:54 +0000)]
Updated Kazakh translation
Matthias Clasen [Sat, 5 Sep 2015 03:28:24 +0000 (23:28 -0400)]
wayland: Remove an overeager assert
If we are using gl for drawing, we don't have a shm surface,
so don't assert that we do. Instead, only call shm-specific
apis when they make sense.
This fixes a crash when showing popovers over a GtkGLArea,
as seen in gdkgears.
https://bugzilla.gnome.org/show_bug.cgi?id=754143
Tom Tryfonidis [Fri, 4 Sep 2015 22:33:35 +0000 (22:33 +0000)]
Updated Greek translation
Benjamin Otte [Thu, 3 Sep 2015 13:59:57 +0000 (15:59 +0200)]
popover: Don't inherit style from parent
Instead, inherit style from toplevel (because that's the default way,
not because it makes lots of sense).
This way, popovers don't inherit the styling from the widget that popped
them up, which is a problem in selected listbox rows, selection-mode
headerbars.
It also doesn't inherit styling where we might want it, like the osd.
But we can only have one of the two things.
Jakub Steiner [Thu, 3 Sep 2015 10:12:01 +0000 (12:12 +0200)]
HighContrast: make linked entries align
- reshuffled the stylesheet to easily allow having a thicker
border, but decided to keep the 1px borders on entries
as it makes easier to spot the buttons despite being flat.
https://bugzilla.gnome.org/show_bug.cgi?id=753129
Rafal Luzynski [Fri, 4 Sep 2015 09:21:08 +0000 (11:21 +0200)]
flow box: Fix bad children allocation with RTL locales
If the position of the children is always relative to the box
then we should not take the allocation of the box into account
when flipping the children for RTL text direction.
This patch also removes unused assignments to child_allocation.
https://bugzilla.gnome.org/show_bug.cgi?id=754559
Matthias Clasen [Fri, 4 Sep 2015 06:11:41 +0000 (02:11 -0400)]
text view: Drop an unused variable
Matthias Clasen [Fri, 4 Sep 2015 06:09:43 +0000 (02:09 -0400)]
path bar: Don't use prerendered surfaces
The current icon handling did not update icons for widget
state changes, causing black-on-black icons in HighContrast.
Instead, use the GIcon.
https://bugzilla.gnome.org/show_bug.cgi?id=753397
Matthias Clasen [Fri, 4 Sep 2015 06:08:59 +0000 (02:08 -0400)]
file system: Add an api to get a GIcon
Using prerendered surfaces is not working well when it comes
to state changes, so make the GIcon available.
Matthias Clasen [Thu, 3 Sep 2015 17:52:09 +0000 (13:52 -0400)]
text view: Improve cursor hiding logic
Same as we did for the entry in the previous commit.
Previously, we just hid the cursor if a key event was adding text,
but not when you used backspace, or Ctrl-V. Rearrange things so that
we obscure the cursor whenever the buffer contents change while we
are handling key events.
https://bugzilla.gnome.org/show_bug.cgi?id=754535
Matthias Clasen [Thu, 3 Sep 2015 17:16:02 +0000 (13:16 -0400)]
entry: Improve cursor hiding logic
Previously, we just hid the cursor if a key event was adding text,
but not when you used backspace, or Ctrl-V. Rearrange things so that
we obscure the cursor whenever the buffer contents change while we
are handling key events.
https://bugzilla.gnome.org/show_bug.cgi?id=754535
Lapo Calamandrei [Thu, 3 Sep 2015 14:46:36 +0000 (16:46 +0200)]
HC: fix pathbar paddings.
See https://bugzilla.gnome.org/show_bug.cgi?id=753397 for
details.
Timm Bäder [Tue, 1 Sep 2015 08:41:42 +0000 (10:41 +0200)]
GtkListBox: Allow a NULL callback in bind_model
When unsetting the bound model, one can pass NULL, but in that case the
create_func parameter should also be NULL.
Aurimas Černius [Wed, 2 Sep 2015 18:23:14 +0000 (21:23 +0300)]
Updated Lithuanian translation
Lapo Calamandrei [Wed, 2 Sep 2015 17:35:35 +0000 (19:35 +0200)]
Adwaita: fix documents and the like rubberband.
Lapo Calamandrei [Wed, 2 Sep 2015 15:23:22 +0000 (17:23 +0200)]
Adwaita: add .content-view:hover styling.
Just to make thumbs in various app hilight on hover.
Matthias Clasen [Wed, 2 Sep 2015 05:04:08 +0000 (01:04 -0400)]
3.17.8
Matthias Clasen [Wed, 2 Sep 2015 05:52:09 +0000 (01:52 -0400)]
Avoid some duplicate test names
GLib considers these an bug now.
Matthias Clasen [Wed, 2 Sep 2015 05:50:51 +0000 (01:50 -0400)]
places view: Avoid a crash in finalize
When the places view is finalized before the network loading
is finished, the async operation is cancelled, and the callback
accesses the places view while it is already in a state of
disrepair. Avoid that access.
Matthias Clasen [Wed, 2 Sep 2015 05:28:57 +0000 (01:28 -0400)]
places view: Spew less warnings
When running the testsuite with a local gvfs, we get a 'not supported'
error here, and the g_warning makes the test fail. Avoid that.
Lapo Calamandrei [Wed, 2 Sep 2015 10:05:22 +0000 (12:05 +0200)]
Adwaita: sync sidebar color vars.
Lapo Calamandrei [Wed, 2 Sep 2015 09:01:08 +0000 (11:01 +0200)]
Adwaita: scales on selected list rows.
Jonas Ådahl [Thu, 27 Aug 2015 06:59:45 +0000 (14:59 +0800)]
wayland: Don't broadcast selection owner changes
When receiving a selection or when a drag icon enter a window, it was
targeted at a specific window. Lets emit the GDK_OWNER_CHANGE event
only for this window, instead of broadcasting.
Broadcasting has some nasty side effects. For example, if there was n
GdkWindows, and one would for every "owner-change" signal handler
receive n signals about the owner being changed.
An example of where this went a bit out of hand was gnome-terminal,
which added one listener per terminal window. This meant that if
one had m number of terminal windows, each time any one would loose or
gain keyboard focus, O(m^2) owner-change events would be emitted.
https://bugzilla.gnome.org/show_bug.cgi?id=754158
Sebastien Lafargue [Sat, 29 Aug 2015 08:49:07 +0000 (10:49 +0200)]
GtkTextView: various scroll fixes
The purpose of this patch is to fix regressions in GtkTextView
scroll behaviours due to commit
d138156.
( addition of padding and margins to the view )
Adding some padding is done by, for example, in inspector css tab with:
GtkTextView {
padding: 10px 10px 10px 10px;
}
and adding margins, by changing one of *-margin properties
( * standing for left/right/top/bottom ) or the corresponding
accessor functions.
Understand that none of these bugs are easy to trigger.
What's happened is that a old and wrong version of the code of the code
( lost in the mean time ) was pushed.
These bugs are best seen with wrap mode set to off.
The commit
8baab8f fix a first regression.
This one is about:
- Cursor going out of the view at line ends instead of being visible
or triggering the horizontal scroll.
- Padding not displayed correctly
when moving cursor at beginning/end of lines
- When horizontal scroll position not at left, cursor can make scroll
by more than one character (you need left padding to see this )
- Moving the cursor arround, the rendered text can be shitted in x or y.
( fixed by converting adjustment float values
to integer before calculations )
It can be observed by going down with the cursor more
than the view height then going up
- retval return value of _gtk_text_view_scroll_to_iter wrong in some cases
In addition, this patch re-factor priv->top_border
in screen_dest.y calculation
Of course, all GtkTextView and GtkSourceView based app were impacted
by these bugs ( gedit for example, see bug 754147 )
https://bugzilla.gnome.org/show_bug.cgi?id=753815
https://bugzilla.gnome.org/show_bug.cgi?id=75815
Matthias Clasen [Wed, 2 Sep 2015 02:05:46 +0000 (22:05 -0400)]
places sidebar: Disable 'Open' for selected rows
If the row is selected, it is already opened, so we should not
offer the Open action anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=754410
Emmanuele Bassi [Tue, 1 Sep 2015 22:46:40 +0000 (23:46 +0100)]
docs: Fix GtkSettings property stanzas
Otherwise gtk-button-images and gtk-menu-images will not be recognised
as properties.
https://bugzilla.gnome.org/show_bug.cgi?id=754421
Muhammet Kara [Tue, 1 Sep 2015 17:33:01 +0000 (17:33 +0000)]
Updated Turkish translation
Lapo Calamandrei [Tue, 1 Sep 2015 16:52:20 +0000 (18:52 +0200)]
Adwaita: use currentColor for scale marks.
So it should work ok when used in selected items.
Lapo Calamandrei [Tue, 1 Sep 2015 16:43:48 +0000 (18:43 +0200)]
Adwaita: contemplate selected insensitive items.
Lapo Calamandrei [Tue, 1 Sep 2015 16:14:45 +0000 (18:14 +0200)]
Adwaita: fix GtkPlacesSidebar styling.
Lapo Calamandrei [Tue, 1 Sep 2015 14:03:02 +0000 (16:03 +0200)]
Adwaita: remove unneded background from list-row
Lapo Calamandrei [Tue, 1 Sep 2015 13:47:53 +0000 (15:47 +0200)]
Adwaita: remove bogus box-shadow in GtkComboBox
Carlos Soriano [Tue, 1 Sep 2015 12:27:58 +0000 (14:27 +0200)]
gtkplacessidebar: add sidebar row style
So designers can style it at their will.
Lapo Calamandrei [Tue, 1 Sep 2015 11:30:07 +0000 (13:30 +0200)]
Adwaita: remove bogus @at-root from sidebar styling.
See https://bugzilla.gnome.org/show_bug.cgi?id=754292 for
details.
Andika Triwidada [Tue, 1 Sep 2015 09:05:07 +0000 (09:05 +0000)]
Updated Indonesian translation
Dušan Kazik [Tue, 1 Sep 2015 08:50:45 +0000 (08:50 +0000)]
Updated Slovak translation
Jakub Steiner [Mon, 31 Aug 2015 11:59:12 +0000 (13:59 +0200)]
Adwaita: make focus visible in GtkColorSwatch
- use the same fg color as the selection icon
- both dark & light to use the same opacity
Matthias Clasen [Tue, 1 Sep 2015 05:04:53 +0000 (01:04 -0400)]
Revert "GtkTextView: various scroll fixes"
This reverts commit
016f6596e76a69844d2832cba07e10d9b60a2b28.
Pushed prematurely by accident.
Matthias Clasen [Tue, 1 Sep 2015 05:00:46 +0000 (01:00 -0400)]
file chooser: Make sure places view type is known
Similar to how we handle GtkPathBar, make sure that the
type for GtkPlacesView is registered before we load the
template.
https://bugzilla.gnome.org//show_bug.cgi?id=754133
Matthias Clasen [Tue, 1 Sep 2015 04:59:27 +0000 (00:59 -0400)]
glade: Add some more private widget types
Add GtkColorEditor and GtkPlacesView to this list, on the assumption
that all private widgets should be listed here.
Sebastien Lafargue [Sat, 29 Aug 2015 08:49:07 +0000 (10:49 +0200)]
GtkTextView: various scroll fixes
Due to the introduction of view's margin and padding,
some bugs in scrolling behaviour have come.
This commit fix them.
https://bugzilla.gnome.org/show_bug.cgi?id=753815
Balázs Úr [Mon, 31 Aug 2015 17:03:40 +0000 (17:03 +0000)]
Updated Hungarian translation
Balázs Úr [Mon, 31 Aug 2015 16:56:05 +0000 (16:56 +0000)]
Updated Hungarian translation
Matthias Clasen [Mon, 31 Aug 2015 15:31:24 +0000 (11:31 -0400)]
Fix the build
Matthias Clasen [Mon, 31 Aug 2015 15:08:25 +0000 (11:08 -0400)]
Turn off inspector keybindings by default
This is a 'developer mode' feature, and it can and does interfere
with preexisting key bindings in some applications, so keep it
off by default in stable releases, at least.
http://bugzilla.gnome.org/show_bug.cgi?id=754115
Matthias Clasen [Mon, 31 Aug 2015 15:04:10 +0000 (11:04 -0400)]
wayland: Stop key repeat on focus out
This should address the occasional 'key repeat gone wild' issue
that some people have been seeing in gnome-terminal under Wayland.
http://bugzilla.gnome.org/show_bug.cgi?id=747684
Matthias Clasen [Mon, 31 Aug 2015 15:02:51 +0000 (11:02 -0400)]
wayland: Stop key repeat when a seat goes away
Seems unlikely, but it is the right thing to do.
Matthias Clasen [Mon, 31 Aug 2015 14:54:07 +0000 (10:54 -0400)]
wayland: Trivial refactor
Break out a stop_key_repeat function instead of open-coding this
in several places.
Christian Hergert [Mon, 31 Aug 2015 12:18:09 +0000 (05:18 -0700)]
textview: handle NULL cursors gracefully
Under some cases, we can get NULL back for the cursor. Simply use
g_clear_object() to handle that case gracefully.
Daniel Mustieles [Mon, 31 Aug 2015 09:07:24 +0000 (11:07 +0200)]
Updated Spanish translation
Daniel Mustieles [Mon, 31 Aug 2015 09:06:47 +0000 (11:06 +0200)]
Updated Spanish translation
Jakub Steiner [Mon, 31 Aug 2015 08:47:01 +0000 (10:47 +0200)]
Adwaita: rerender css
- fixes previous commit
- for some reason sass won't overwrite a confliced css
Jakub Steiner [Thu, 27 Aug 2015 14:25:46 +0000 (16:25 +0200)]
Adwaita, HighContrast: day names in GtkCalendar
Ideally I'd like to mimic the treeview column-header style,
but font-weight: bold; doesn't seem to work. Making them plain
for now.
https://bugzilla.gnome.org/show_bug.cgi?id=753357
Kalev Lember [Sun, 30 Aug 2015 19:12:35 +0000 (21:12 +0200)]
Adwaita: Fix a few typos in README
Piotr Drąg [Sun, 30 Aug 2015 13:33:27 +0000 (15:33 +0200)]
Updated Polish translation
Pedro Albuquerque [Sun, 30 Aug 2015 10:00:44 +0000 (10:00 +0000)]
Updated Portuguese translation
Yosef Or Boczko [Sun, 30 Aug 2015 08:09:16 +0000 (11:09 +0300)]
Updated Hebrew translation
Carlos Soriano [Sat, 29 Aug 2015 21:32:23 +0000 (23:32 +0200)]
gtkplacesview: don't warn for cancelled operations
This was intended to filter out cancelled operations, not
the other way around.
https://bugzilla.gnome.org/show_bug.cgi?id=754150
Carlos Soriano [Sat, 29 Aug 2015 20:57:15 +0000 (22:57 +0200)]
gtkplacesview: make consistent loading state
Until now the code was not very clear about why the loading property is
needed, since we didn't forced all the async operations to mark the
view as loading. This cause that clients are not aware when the view
is busy on those situations.
For instance Nautilus uses the property for a few things, one of it
is to show a busy spinner on the tab title.
To improve the situation, mark as loading when a volume operation,
a mount operation or a connect to server operation is being performed.
https://bugzilla.gnome.org/show_bug.cgi?id=754150
Carlos Soriano [Sat, 29 Aug 2015 19:16:34 +0000 (21:16 +0200)]
gtkplacesview: don't fetch networks if local only
We were fetching networks even on local only mode.
Avoid to do extra work if not necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=754150
Carlos Soriano [Sat, 29 Aug 2015 19:10:37 +0000 (21:10 +0200)]
gtkplacesview: dont invalidate headers if not necessary
We were invalidating the headers after adding the placeholder
row, but GtkListBox already update the header of that row in that
case.
https://bugzilla.gnome.org/show_bug.cgi?id=754150
Carlos Soriano [Sat, 29 Aug 2015 18:36:48 +0000 (20:36 +0200)]
gtkplacesview: don't rely on widgets on headers
We are showing a GtkSpinner on the networks header to provide feedback
to the user if we are fetching networks, therefore we have to modify
the spinner state when doing it.
However GtkListBox doesn't give guarantees about the widgets
set by gtk_list_box_set_header, and we could access an invalid
widget.
To avoid to access invalid widgets, bind the fetching networks
view property to the networks header spinner active property instead
of modifying directly the spinner in the private structure.
Not having the spinner in the private structure also makes the code
cleaner.
https://bugzilla.gnome.org/show_bug.cgi?id=754150
Carlos Soriano [Sat, 29 Aug 2015 18:35:10 +0000 (20:35 +0200)]
gtkplacesview: create placeholder before fetching networks
If not we don't show the header at all.
This was an accidental removal before commiting.
https://bugzilla.gnome.org/show_bug.cgi?id=754150
Carlos Soriano [Thu, 27 Aug 2015 18:58:27 +0000 (20:58 +0200)]
gtkplacesview: only filter out placeholder if searching
We were filtering out placeholders if the list box filters
while not searching, which is not what we want, since placeholders
should only be hidden if the view is searching.
https://bugzilla.gnome.org/show_bug.cgi?id=754150
Dušan Kazik [Sun, 30 Aug 2015 06:51:51 +0000 (06:51 +0000)]
Updated Slovak translation
Andika Triwidada [Sun, 30 Aug 2015 04:35:32 +0000 (04:35 +0000)]
Updated Indonesian translation